-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabling ErrorProne and NullAway with initial fixes #1248
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1248 +/- ##
============================================
+ Coverage 51.49% 51.62% +0.13%
+ Complexity 717 715 -2
============================================
Files 95 95
Lines 5909 5894 -15
Branches 787 782 -5
============================================
Hits 3043 3043
+ Misses 2578 2562 -16
- Partials 288 289 +1 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
@chandrashekar-s I think this is ready for review (I'll remove the Maven log file from this PR later; keeping it for now to have a sample of new WARNING messages). BTW, the e2e-test failed a few times but passed on its own here. Looking at the some of the failed tests, I think there is a race condition between the BULK_EXPORT test and the controller test. IIUC from the dep graph and FHIR-server parameters, I think both of these tests are querying http://hapi-server:8080; but the problem is that in the controller test we are testing the incremental pipeline functionality as well. So depending on whether it runs before or after BULK_EXPORT test we may get extra resources in BULK_EXPORT test, does that make sense? |
I think you are right Bashir, there can be a race condition here because of parallel tests. This has to be fixed. Also, one more issue that I could think of is that 'Turning of the HAPI source server' is not made dependent on the BULK EXPORT Test and can run into issues if the server is turned off before the BULK EXPORT job completes. |
Description of what I changed
See #1247 for the context. This is mostly to enable ErrorProne and NullAway. These two exposed over 370 warnings. From these, less than 20 are addressed in this PR; this is still WIP.
E2E test
TESTED:
Relying on e2e/unit tests.
Checklist: I completed these to help reviewers :)
I have read and will follow the review process.
I am familiar with Google Style Guides for the language I have coded in.
No? Please take some time and review Java and Python style guides.
My IDE is configured to follow the Google code styles.
No? Unsure? -> configure your IDE.
I have added tests to cover my changes. (If you refactored existing code that was well tested you do not have to add tests)
I ran
mvn clean package
right before creating this pull request and added all formatting changes to my commit.All new and existing tests passed.
My pull request is based on the latest changes of the master branch.
No? Unsure? -> execute command
git pull --rebase upstream master